package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.domain.Orders;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Date;

/**
* @author 七安
* @description 针对表【orders(订单表)】的数据库操作Service
* @createDate 2022-08-15 16:15:08
*/
public interface OrdersService extends IService<Orders> {

    void saveOrder(Orders orders);

    Page<Orders> findOrders(Integer page, Integer pageSize);

    Page<Orders> findOrdersByManage(Integer page, Integer pageSize, String number, Date beginTime, Date endTime);
}
